package com.chuangke.system.entity;

import java.util.Date;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;

public class SysRelation{
	
	/** id */
	private String id;
	/** 主体 */
	private String subjectId;
	/** 主体标识 */
	private String subjectCategory ;
	/** 关联类型 */
	private String relationType;
	/** 关联id */
	private String relationId;
	
	@TableField(exist=false)
	private String relationName;
	/** 备注 */
	private String remarks;
	/** 删除标志 */
	private String delFlag;
	
	/** 关联对象 */
	@TableField(exist=false)
	private Object relationObject ;
	
	/** 创建时间 */
	@TableField(fill = FieldFill.INSERT)
	private Date createdAt;
	/** 创建人 */
	@TableField(fill = FieldFill.INSERT)
	private String createdBy;
	/** 修改时间 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private Date updatedAt;
	/** 修改人 */
	@TableField(fill = FieldFill.INSERT_UPDATE)
	private String updatedBy;
	
	@TableField(exist=false)private String createdByName ;
	@TableField(exist=false)private String updatedByName ;

	public String getId() {
		return id;
	}

	public void setId(String id) {
		this.id = id;
	}

	public String getSubjectId() {
		return subjectId;
	}

	public void setSubjectId(String subjectId) {
		this.subjectId = subjectId;
	}

	public String getSubjectCategory() {
		return subjectCategory;
	}

	public void setSubjectCategory(String subjectCategory) {
		this.subjectCategory = subjectCategory;
	}

	public String getRelationType() {
		return relationType;
	}

	public void setRelationType(String relationType) {
		this.relationType = relationType;
	}

	public String getRelationId() {
		return relationId;
	}

	public void setRelationId(String relationId) {
		this.relationId = relationId;
	}

	public String getRemarks() {
		return remarks;
	}

	public void setRemarks(String remarks) {
		this.remarks = remarks;
	}

	public String getDelFlag() {
		return delFlag;
	}

	public void setDelFlag(String delFlag) {
		this.delFlag = delFlag;
	}

	public Date getCreatedAt() {
		return createdAt;
	}

	public void setCreatedAt(Date createdAt) {
		this.createdAt = createdAt;
	}

	public String getCreatedBy() {
		return createdBy;
	}

	public void setCreatedBy(String createdBy) {
		this.createdBy = createdBy;
	}

	public Date getUpdatedAt() {
		return updatedAt;
	}

	public void setUpdatedAt(Date updatedAt) {
		this.updatedAt = updatedAt;
	}

	public String getUpdatedBy() {
		return updatedBy;
	}

	public void setUpdatedBy(String updatedBy) {
		this.updatedBy = updatedBy;
	}

	public String getRelationName() {
		return relationName;
	}

	public void setRelationName(String relationName) {
		this.relationName = relationName;
	}

	public Object getRelationObject() {
		return relationObject;
	}

	public void setRelationObject(Object relationObject) {
		this.relationObject = relationObject;
	}

	public String getCreatedByName() {
		return createdByName;
	}

	public void setCreatedByName(String createdByName) {
		this.createdByName = createdByName;
	}

	public String getUpdatedByName() {
		return updatedByName;
	}

	public void setUpdatedByName(String updatedByName) {
		this.updatedByName = updatedByName;
	}

}